/*将所有和用户相关的http请求写在改文件中*/
import instance from "@/request";

// register  注册    ()=>{}   箭头函数   lambda
export const  userRegister = (username,password)=>instance.get('/user/register?username='+username+'&password='+password)

// login   认证
export const  userLogin = (username,password)=>instance.get('/user/login?username='+username+'&password='+password)